#ifndef MapContextMenuP_h__
#define MapContextMenuP_h__

#include <QMenu>

class MapHandle;

class MapContextMenu_p : public QMenu
{
public:
	MapContextMenu_p(MapHandle *mapHandle);
	~MapContextMenu_p();

	void setActions(QList<QAction*> actions);
	void addAction(QAction * action);
	void addActions(QList<QAction *> appendActions);

protected:
	virtual bool eventFilter(QObject *, QEvent *);

private:
	QList<QAction*> m_defaultActions;
	QList<QAction*>	m_actions;
	MapHandle *m_mapHandle = Q_NULLPTR;
};

#endif // MapContextMenuP_h__
